package com.my.blog.website.dao;

import com.github.pagehelper.PageInfo;
import com.my.blog.website.model.Vo.HolidayVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface HolidayMapper {
  int  insertHoliday(HolidayVo h);
  List<HolidayVo> searchHolidayVo();
  HolidayVo searchHolidayVoById(@Param("id") int id);
  int updateHolidayByid(HolidayVo h);
   int deleteByCid(Integer id);
}
